package tech.aistar.service;

import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Service;
import tech.aistar.pojo.User;

import java.util.List;
@Service
public interface UserService {
    List<User> getAll();

    User login(String username);


    int insertGUser( User user);
    User register(String phone);

    int insert(String phone,String password,String username);


    List<User> findXinXi();

    int update(String username,String intro,String phone);

    int updatePhoto(String uPhoto ,String phone);
    void upvip(String vipname,int state,String startime, String endtime,int id);
    int selede(int uid);
}
